import React from "react";

// 判断显示组件

export const Show = (props:{show:boolean,children:JSX.Element})=>{
  if(props.show){
    return (
      <>
        {props.children}
      </>
    )
  }else{
    return null
  }
}